package com.membership.stumembership.utils;


import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class Result {

    private Integer code;
    private String msg;
    private Object data;
    private Integer count;

    public Result(Integer code, String msg, Object data) {
        super();
        this.code = code;
        this.msg = msg;
        this.data = data;
    }
    public Result(Integer code, String msg) {
        super();
        this.code = code;
        this.msg = msg;
    }


}
